package com.tianma315.admin.agent.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.tianma315.admin.agent.domain.AgentAddressDO;
import com.tianma315.admin.agent.vo.AgentAddressVO;
import com.tianma315.admin.common.base.CoreService;

/**
 * 
 * <pre>
 * 经销商地址
 * </pre>
 * <small> 2019-06-11 16:26:39 | Aron</small>
 */
public interface AgentAddressService extends CoreService<AgentAddressDO> {

    Page<AgentAddressVO> agentAddressVOPage(Integer pageNumber, Integer pageSize, AgentAddressVO agentAddressDTO);

    Boolean updateStatus(Integer id,Integer status);

    Boolean addAgentAddress(AgentAddressDO agentAddressDO);

    AgentAddressDO getAgentAddressByAgentId(Integer agentId);

}
